#pragma once

#include <QWidget>
#include <QToolBar>
#include <QListWidget>

namespace Ui {
    class FileManager;
}

class FileManager : public QWidget
{
    Q_OBJECT
public:
    explicit FileManager(QWidget *parent = nullptr);

    void setDirs(const QStringList &list);
    QListWidget* listWidget();
    QLineEdit *editPath();

signals:
    void flush();
    void mainlist();
    void parentdir();
    void upload();

private:
    Ui::FileManager *ui;
};
